package com.xiaohei.EE_IBATIC_Demo.dao;

import java.util.List;
import com.xiaohei.EE_IBATIC_Demo.model.PageQuery;
import com.xiaohei.EE_IBATIC_Demo.model.User;

public interface IUserDao {
	public boolean registUser(User u );
	public boolean addUser(User u);
	public Integer updateUser(User u);
	public List<User> findAllUser();
	public List<User> findAllUserByPage(PageQuery p);
	public Integer deleteUser(Integer id);
	public Integer getPageCount();
	public boolean checkIfUserExist(String id);
}
